<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<base href="__ROOT__/">
<title>{$projectname}</title>
<link href="./Public/Css/app.css" rel="stylesheet">
</head>

<body>
	<div id="app">
		<nav>
			{$topbar}
		</nav>
		<hr style="margin: 3px 0px 0px;">
		<div style="margin: 20px 150px 0px;">
			<div>
				<div>
					<a href="{$url}mb_GameManager" class="router-link-exact-active router-link-active">
						<button>游戏配置</button>
					</a>
				</div>
			</div>
			<div style="margin-bottom: 5px;"></div>
			<div>
				<form action="{$url}mb_SaveGameSetting" method="post">
					<table border="1" width="100%" class="grid">
						<tr>
							<th width="120px" class="tbt">游戏开关：
							</th>
							<td>
								<label for="yxkg1"><input id="yxkg1" name="game" type="radio" value="0" {$swgame_0}> 开放 </label> 
								<label for="yxkg2"><input id="yxkg2" name="game" type="radio" value="1" {$swgame_1}> 关闭 </label>
							</td>
							<!-- 
							<td>
								<button disabled="disabled">更新</button>
							</td>
							 -->
						</tr>
						<tr>
							<th width="120px" class="tbt">注册开关：</th>
							<td>
								<label for="zc1"><input id="zc1" name="regist" type="radio" value="0" {$swregist_0}> 允许注册 </label> 
								<label for="zc2"><input id="zc2" name="regist" type="radio" value="1" {$swregist_1}> 禁止注册 </label>
							</td>
							<!-- 
							<td>
								<button disabled="disabled">更新</button>
							</td>
							 -->
						</tr>
						<tr>
							<th width="120px" class="tbt">登录开关：</th>
							<td>
								<label for="dl1"><input id="dl1" name="login" type="radio" value="0" {$swlogin_0}> 允许登录 </label> 
								<label for="dl2"><input id="dl2" name="login" type="radio" value="1" {$swlogin_1}> 禁止登录 </label>
							</td>
							<!-- <td><button disabled="disabled">更新</button></td> -->
						</tr>
						
						<!-- 
						<tr>
							<th width="100px" class="tbt">最新客户端版本：</th>
							<td><input type="text" placeholder="如：1.0.8"></td>
							<td><button disabled="disabled">更新</button></td>
						</tr>
						<tr>
							<th width="100px" class="tbt">最低版本要求：</th>
							<td><input type="text" placeholder="如：1.0.8"><span
								style="color: rgb(102, 102, 102); font-style: italic;">为空则不要求客户端更新</span></td>
							<td><button disabled="disabled">更新</button></td>
						</tr>
						<tr>
							<th width="100px" class="tbt">Android下载地址：</th>
							<td><input type="text" placeholder="下载网址" size="60"></td>
							<td><button disabled="disabled">更新</button></td>
						</tr>
						<tr>
							<th width="100px" class="tbt">iOS下载地址：</th>
							<td><input type="text" placeholder="下载网址" size="60"></td>
							<td><button disabled="disabled">更新</button></td>
						</tr>
						 -->
						<tr>
								<th valign="top" class="tbt">游戏公告：</th>
								<td><textarea name="bulletin" rows="3" style="width: 99%;" >{$bulletin}</textarea></td>
								<!-- 
								<td valign="top">
									<button disabled="disabled">更新</button> <br>
									<button>推送</button>
								</td>
								 -->
						</tr>
						<tr>
							<th valign="top" class="tbt">游戏广播：</th>
							<td><textarea name="broadcast" rows="3" style="width: 99%;" >{$broadcast}</textarea></td>
							<!-- 
							<td valign="top"><button disabled="disabled">更新</button> <br>
								<button>广播</button></td>
								 -->
						</tr>
						<tr>
							<th valign="top" class="tbt">大厅充值按钮弹窗：</th>
							<td><textarea name="recharge" rows="3" style="width: 99%;" >{$recharge}</textarea></td>
							<!-- <td valign="top"><button disabled="disabled">更新</button></td> -->
						</tr>
						<tr>
							<td></td>
							<td><button>全部保存</button></td>
							<!-- <td><input type="hidden" value="config"></td> -->
						</tr>
					</table>
				</form>
			</div>
		</div>
	</div>
</body>
</html>

